﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Table.Master" Inherits="System.Web.Mvc.ViewPage<SohuWeb.Models.UploadModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	修改密码
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>CSV文件上传</h2>
    <p>
        请选择需要上传的csv文件。 
    </p>

    <% using (Html.BeginForm("CSVUpload", "Cms", FormMethod.Post, new { enctype = "multipart/form-data" })) { %>
        <%: Html.ValidationSummary(true, "上传失败，请重试。") %>
        <div>
            <fieldset>
                <legend>选择文件</legend>
                
                <div class="editor-label">
                    <%: Html.LabelFor(m => m.CSVFileName) %>
                </div>
                <div class="editor-field">
                    
                    <input type="file" name="CSVFileName" /><br />
                    <%: Html.ValidationMessageFor(m => m.CSVFileName)%>
                </div>
                
                <p>
                    <input type="submit" value="上传文件" />
                </p>
            </fieldset>
        </div>
    <% } %>

</asp:Content>
